import { useRoutes } from 'react-router';

import HubInfo from 'pages/HubInfo';
import Dashboard from 'pages/Dashboard';

const AppRouter = () =>
  useRoutes([
    { path: "/", element: <Dashboard /> },
    { path: "/hubinfo", element: <HubInfo /> },
  ]);

export default AppRouter;
